class Ability {
  // LV
  public lv:number | string;

  // hp
  public hp:number | string;

  // tp
  public tp:number | string;

  // str
  public str:number | string;

  // int
  public int:number | string;

  // vit
  public vit:number | string;

  // wis
  public wis:number | string;

  // agi
  public agi:number | string;

  // luc
  public luc:number | string;

  // id
  public id:number | string;

  constructor(arr:number[]|string[]) {
    [this.lv, this.hp, this.tp, this.str, this.int, this.vit, this.wis, this.agi, this.luc] = arr;
    this.id = Math.random();
  }
}

export default Ability;
